package com.headStorm.hutooluse;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.thread.ThreadUtil;
import cn.hutool.core.util.ArrayUtil;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.ReferenceUtil;
import cn.hutool.core.util.ZipUtil;

/**
 * @author zhangqq
 * @create 2021-10-22 14:47
 **/
public class ArrayUtilDemo {

    public static void main(String[] args) {
        byte[] bytes = {0, 1, 2, 3, 4, 5, 6};
        byte[] sub = ArrayUtil.sub(bytes, 2, 5 + 1);
        for (byte b : sub) {
            System.out.print(b);
        }
        NumberUtil.max(1d, 1d);

        //MapUtil
        System.out.println("\u001B[0m");
        System.out.println("\u001B[30m");
        System.out.println("\u001B[31m");
        System.out.println("\u001B[32m");
        System.out.println("\u001B[33m");

        //DateUtil
    }
}
